func go/types.isConstType

5 uses

	go/types (current package)
		assignments.go#L137: 	assert(isConstType(x.typ))
		conversions.go#L45: 	case constArg && isConstType(T):
		conversions.go#L114: 		} else if isNonTypeParamInterface(T) || constArg && !isConstType(T) || !isTypes2 && x.isNil() {
		decl.go#L449: 		if !isConstType(t) {
		predicates.go#L32: func isConstType(t Type) bool      { return isBasic(t, IsConstType) }